package com.jcl.recruit.console.recruit.logic;

import com.jcl.core.common.page.PageResult;
import com.jcl.core.db.page.DistributePage;
import com.jcl.recruit.log.model.ConsoleResumeLog;
import com.jcl.recruit.log.vo.LogPageCondition;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * @ClassName ConsoleRecruitLogLogic
 * @Author yyliu
 * @Date 2018/12/24 17:08
 * @Version 1.0
 **/
@Component
public class ConsoleRecruitLogLogic {

    @Autowired
    @Qualifier("consoleResumeLogPage")
    public ConsoleResumeLogPage consoleResumeLogPage;

    public PageResult<ConsoleResumeLog> pageList(LogPageCondition condition) {
        DistributePage distributePage = new DistributePage(consoleResumeLogPage);
        return distributePage.pageResult(condition);
    }

}
